package cn.com.xyc.service;

import cn.com.xyc.pojo.User;

public interface SystemService {
	/**
	 * 检查用户名是否重复
	 * 
	 * @param username
	 * @return
	 */
	public boolean checkUsername(String username);

	/**
	 * 保存 注册信息
	 * 
	 * @param admin
	 * @return
	 */
	public int saveRegisterInfo(User admin);
	
	public boolean checkUserActiveCode(String code);
}
